using System;
using UniversalAdmin.Domain.Entities;

namespace UniversalAdmin.Domain.Entities.App;

public class Article : EntityBase
{
    public string Title { get; set; } = string.Empty;
    public string? Content { get; set; }
    public string? Summary { get; set; }
    public string Status { get; set; } = "draft";
    public Guid? CategoryId { get; set; }
    public Guid? UserId { get; set; }

    // Navigation properties
    public virtual ArticleCategory? Category { get; set; }
    public virtual User? User { get; set; }
}
